import request from '@/utils/request'

export function getHistory(params) {
  return request({
    url: '/eff/gitlab/commithistory/',
    method: 'get',
    params
  })
}

export function getStat(params) {
  return request({
    // url: '/eff/gitlab/commitstat/',
    url: '/eff/gitlab/commithistory/stat/',
    method: 'get',
    params
  })
}
